﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace YDWin
{
    public partial class LockForm : DevExpress.XtraEditors.XtraForm
    {
        public LockForm()
        {
            InitializeComponent();
        }

        private void LockForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            Application.Exit();//退出程序
        }

        private void btnClose_Click(object sender, EventArgs e)
        {
            this.Dispose();
            this.Close();
            Application.Exit();//退出程序
        }

        private void btnCDK_Click(object sender, EventArgs e)
        {
            //打开授权界面
            CDKForm cf = new CDKForm();
            cf.ShowDialog(); 
        }
    }
}